#!/bin/sh


filename="/home/myuser1/logical"
if [ ! -e $filename ] ; then
 	touch $filename 
	 echo "$filename 文件被创建" 
	exit 0
elif [ -f $filename ] ; then
	 rm $filename 
	 mkdir $filename 
	 echo "$filename 目录被创建" 
	 exit 0
else
	rm -rf $filename
	echo "$filename 目录被删除"
fi



	
